import AuthorizationHeaderSigner from './signers/AuthorizationHeaderSigner';
import QueryParameterSigner from './signers/QueryParameterSigner';
var AWSAccessKey = 'AKIAIOSFODNN7EXAMPLE';
var AWSSecretKey = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY';
var bucketName = 'examplebucket';
var awsRegion = 'us-east-1';
var objectKey = 'test.txt';
var endpointUri = new URL('https://' + bucketName + '.s3.amazonaws.com/' + objectKey);
var queryParams = '';
var signer = new AuthorizationHeaderSigner(endpointUri, 'GET', 's3', awsRegion);
var authorization = signer.ComputeSignature(new Map([
    [signer.X_Amz_Content_SHA256, signer.EMPTY_BODY_SHA256],
    ['content-type', 'text/plain'],
]), queryParams, signer.EMPTY_BODY_SHA256, AWSAccessKey, AWSSecretKey);
console.log(authorization);
export { QueryParameterSigner, AuthorizationHeaderSigner };
